/*
 * WidgetClickeableWithTextAligned.h
 *
 *  Created on: Apr 21, 2012
 *      Author: alan
 */

#ifndef WIDGETCLICKEABLEWITHTEXTALIGNED_H_
#define WIDGETCLICKEABLEWITHTEXTALIGNED_H_

#include "WidgetClickeable.h"
#include "widgets/LabelAligned.h"

class WidgetClickeableWithTextAligned : public WidgetClickeable {
public:
	WidgetClickeableWithTextAligned(std::string text,std::string path,int posX, int posY, Widget* parent);
	WidgetClickeableWithTextAligned(std::string text,Color color,int width, int height,int posX, int posY, Widget* parent);
	virtual ~WidgetClickeableWithTextAligned();

	virtual void showOn(SDL_Surface* surface);
	std::string getText();

protected:
	std::string text;
	LabelAligned* label;
};

#endif /* WIDGETCLICKEABLEWITHTEXTALIGNED_H_ */
